package com.yjhh.tilemap.vo;

import com.yjhh.tilemap.domain.MapMarkInfo;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * Description:
 *
 * @JDK Version:1.8.0_40
 * Version: V1.0
 * Author: spring
 * Date: 2017/8/18
 */
@Data
public class MapInfo implements Serializable {

    private int zoom;
    private double startLng;
    private double startLat;
    private double endLng;
    private double endLat;

    private int xTileCount;
    private int yTileCount;

    private int totalTileCount;

    private List<MapMarkInfo> mapMarkInfoList;

    private List<String> tileMapUrlList;

    public MapInfo() {
    }

    public MapInfo(int zoom, double startLng, double startLat, double endLng, double endLat,
                   int xTileCount, int yTileCount, int totalTileCount, List<MapMarkInfo> mapMarkInfoList, List<String> tileMapUrlList) {
        this.zoom = zoom;
        this.startLng = startLng;
        this.startLat = startLat;
        this.endLng = endLng;
        this.endLat = endLat;
        this.xTileCount = xTileCount;
        this.yTileCount = yTileCount;
        this.totalTileCount = totalTileCount;
        this.mapMarkInfoList = mapMarkInfoList;
        this.tileMapUrlList = tileMapUrlList;
    }
}
